#include <iostream>
#include <cctype>
using namespace std;
 
int main()
{
    string str;
    while (cin >> str)
    {
        if (str[0] >= 'a' && str[0] <= 'z')
        {
            str[0] -= 32;
        }
        cout << str[0];
    }
    return 0;
}